const initState = {
  goods: []
};
export default (state = initState, action) => {
  switch (action.type) {
    case "getGoods":
      return Object.assign({}, state, {
        goods: action.list.datas.list
      });
    default:
      return state;
  }
};
